module Curriculum
  class Base < ActiveRecord::Base
    establish_connection(
        {
            adapter: "postgis",
            encoding: "utf8",
            username: "coach",
            password: "Wjl13585753578",
            pool: 5,
            timeout: 5000,
            host: "rm-2zea3pzbr0o17d6aio.pg.rds.aliyuncs.com",
            port: 3432,
            postgis_extension: "postgis",
            schema_search_path: "public, postgis",
            database: "coach"
        }
    )
  end
end
